fix: add dynamic export to resolve static rendering error in /api/faqs route#2119
fix: add dynamic export to resolve static rendering error in /api/faqs route#2119shubsolos19 wants to merge 1 commit intomfts:mainfrom
Conversation
|
@shubsolos19 is attempting to deploy a commit to the mftsio Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughExplicitly marked the Changes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.Add a configuration file to your project to customize how CodeRabbit runs |
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
Problem
Route
/api/faqswas failing to build on Vercel with:Fix
Added
export const dynamic = "force-dynamic"to explicitly optthis route out of static rendering since it relies on request-time
query parameters.
Fixes #1905
Summary by CodeRabbit